<?php
namespace app\serversubmitform\validate;
use \app\manage\validate\BaseValidate;

class Submitform extends BaseValidate
{
    
	protected $rule =   [
        'id' => ['integer','gt'=>0],
        'app_id' => ['integer','gt'=>0],
        'user_id' => ['integer','egt'=>0],
        'name' => ['min'=>2],
        'mobile' => ['regex'=>'/^1[3|4|5|7|8]\d{9}$/'],
        'content' => ['min'=>2],
    ];

    protected $message  =   [
        
    ];

    protected $scene = [
        
        
    ];

}